<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>FlyShop开源商城系统 - FlyShop开源电子商务平台</title>
	<meta name='keywords' content='开源商城系统,开源网店系统,开源电子商务,商城系统源码,多用户商城源码'>
	<meta name='description' content='FlyShop是基于Java开发b2c2c开源多用户商城系统,支持商家入驻,支持微商城,手机移动商城,APP商城多为一体的电子商务系统'>
	<link rel="stylesheet" href="/assets/admin-lte/css/admin.css" />
	<!--[if lt IE 9]>
	<script src="/assets/js/html5shiv.min.js"></script>
	<script src="/assets/js/respond.min.js"></script>
	<![endif]-->
	<meta name="robots" content="noindex,nofollow">
	<link rel="shortcut icon" href="/assets/favicon.ico" />
	<script type="text/javascript" charset="UTF-8" src="/assets/js/vendors/jquery/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" charset="UTF-8" src="/assets/js/vendors/artdialog/artDialog.js"></script>
	<script type="text/javascript" charset="UTF-8" src="/assets/js/vendors/artdialog/plugins/iframeTools.js"></script>
	<link rel="stylesheet" type="text/css" href="/assets/js/vendors/artdialog/skins/aero.css" />
	<script type="text/javascript" charset="UTF-8" src="/assets/js/vendors/autovalidate/validate.js"></script>
	<link rel="stylesheet" type="text/css" href="/assets/js/vendors/autovalidate/style.css" />
	<script type="text/javascript" charset="UTF-8" src="/assets/js/vendors/artTemplate/artTemplate.js"></script>
	<script type="text/javascript" charset="UTF-8" src="/assets/js/vendors/artTemplate/artTemplate-plugin.js"></script>
	<script type='text/javascript' src="/assets/js/vendors/bootstrap/js/bootstrap.min.js"></script>
	<script type='text/javascript' src="/assets/admin-lte/js/adminlte.min.js"></script>
	<script type="text/javascript" src="/assets/js/sea.js"></script>
	<script type="text/javascript" src="/assets/js/sea.config.js"></script>
</head>

<body class="skin-blue fixed sidebar-mini" style="height: auto; min-height: 100%;">
<div class="wrapper" style="height: auto; min-height: 100%;">
	<#assign page_tab="index">
	<#include "../common/header.html">

	<#include "../common/system_menu.html">

	<!--右侧内容 开始-->
	<div id="admin_right" class="content-wrapper">
		<div class="breadcrumbs" id="breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<i class="home-icon fa fa-home"></i>
					<a href="#">系统</a>
				</li>
				<li>
					<a href="#">权限管理</a>
				</li>
				<li class="active">编辑角色</li>
			</ul>
		</div>

		<div class="content">
			<form action="/admin/role/update_role" method="post" name="role_edit" id="role_edit">
				<table class="table form-table">
					<colgroup>
						<col width="80px" />
						<col />
					</colgroup>

					<tr>
						<th>名称：</th>
						<td><input type='text' class='form-control' name='name' value="${role.name!}" pattern='required' placeholder='请填写角色名称' /></td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input type="hidden" name='id' value="${role.id!}">
							<button class='btn btn-primary' type='submit'>保 存</button>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
	<!--右侧内容 结束-->

	<!--顶部弹出菜单 开始-->
	<aside class="control-sidebar control-sidebar-dark">
		<ul class="control-sidebar-menu">
			<li><a href="/admin/logout"><i class="fa fa-circle-o text-red"></i> 退出管理</a></li>
			<li><a href="/system/admin_repwd"><i class="fa fa-circle-o text-yellow"></i> 修改密码</a></li>
			<li><a href="/system/default"><i class="fa fa-circle-o text-green"></i> 后台首页</a></li>
			<li><a href="/" target='_blank'><i class="fa fa-circle-o text-aqua"></i> 商城首页</a></li>
			<li><a href="/system/navigation"><i class="fa fa-circle-o"></i> 快速导航</a></li>
		</ul>
	</aside>
	<!--顶部弹出菜单 结束-->
</div>
<script type="text/javascript">seajs.use('permission', function(permission) {});</script>
</body>
</html>